PgLayoutLine.getExtents

Computes the logical and ink extents of a layout line.

See [method@Pango.Font.get_glyph_extents] for details about the interpretation of the rectangles.

class PgLayoutLine
void
getExtents

Parameters

inkRect PangoRectangle

rectangle used to store the extents of the glyph string as drawn

logicalRect PangoRectangle

rectangle used to store the logical extents of the glyph string

Meta